/**
 * @description 通过指定选择器获取对应的函数节点
 * @param {string} Selector 选择器
 * @returns 函数节点
 */

function $(Selector) {
    let nodeList = document.querySelectorAll(Selector);
    if (nodeList.length === 0) {
        return console.warn(`{Selector}没有获取节点`);
    }
    if (nodeList.length === 1) {
        return nodeList[0];
    }
    if (nodeList.length > 1) {
        return nodeList
    }
}


